/*
 * MagData.h
 *
 *  Created on: Feb 28, 2013
 *      Author: Kurt Hardin
 */

#ifndef MAGDATA_H_
#define MAGDATA_H_

#include "support_common.h"

class MagData
{
private:
  	int16 m_x;
  	int16 m_y;
  	int16 m_z;
  	
public:  
  	MagData(void);
	MagData(int16 x, int16 y, int16 z);
	
	int16 getX() { return m_x; }
	int16 getY() { return m_y; }
	int16 getZ() { return m_z; }
	
	void setMagData(int16 x, int16 y, int16 z);
	
	void setX(int16 x);
	void setXMSB(uint8 x_msb);
	void setXLSB(uint8 x_lsb);
	
	void setY(int16 y);
	void setYMSB(uint8 y_msb);
	void setYLSB(uint8 y_lsb);
	
	void setZ(int16 z);
	void setZMSB(uint8 z_msb);
	void setZLSB(uint8 z_lsb);
};

#endif /* MAGDATA_H_ */
